const db = require('./src/utils/datebase')
const bw = require('./src/baiwan')
const zd = require('./src/zuida')
const kk = require('./src/kankan')
dbconfig  =  {
    host: 'localhost',
    user: 'root',
    password: '123456',
    database: 'filmsugar'
}
db.connect(dbconfig)
let config = {
    pageLimit: 1,
    isLimit: true,
    delay:100
}
const start = async() => {
    await bw.start(config)
    await zd.start(config)
    // await kk.start(config)
    db.desctory()
}
start()

